global gMoviePixel, gMoviePos, speed, gHalfLength, gMooVChan, gMode
puppetSprite(3, 1)
if (the castType of cast the castNum of sprite gMooVChan = #digitalVideo) and (the duration of cast the castNum of sprite gMooVChan > 0) then
if gMode = 0 then
set the movieRate of sprite gMooVChan to 0
set the movieTime of sprite gMooVChan to 0
else
set the movieRate of sprite gMooVChan to 0
set the movieTime of sprite gMooVChan to gHalfLength + 4
end if
updateStage()
else
alert("'Inside Magic' is having problems running QuickTime on your computer. This might be due to insufficient memory. Please exit the program and allocate more memory to 'Inside Magic.'")